<template>
    <Layout class="p-5 bg-white">
        <Form class="p-5"   :label-width="80">
					<h1>课程申请详细</h1>
			<Row>
	  
					<FormItem class="w-100" label="请求编号">
						<p>{{storeCourseVo.requestId}}</p>
						
					</FormItem>
					
					<FormItem class="w-100" label="课程编号">
							<p>{{storeCourseVo.courseId}}</p>
						 
					</FormItem>
					<FormItem class="w-100" label="课程价格">
							<p>{{storeCourseVo.requestId}}</p>
					 
					</FormItem>
					<FormItem class="w-100" label="课程时长">
							<p>{{storeCourseVo.longs}}</p>
					 
					</FormItem>
					<FormItem class="w-100" label="课程类型">
							<p>{{storeCourseVo.typeId}}</p>
						 
					</FormItem>
					<FormItem class="w-100" label="课程人数">
							<p>{{storeCourseVo.count}}</p>
					 
					</FormItem>
					<FormItem class="w-100" label="课程描述">
							<p>{{storeCourseVo.des}}</p>
					 
					</FormItem>
					<FormItem class="w-100" label="状态">
					<p>{{storeCourseVo.statu}}</p>
					<!-- 	<Input v-model="storeCourseVo.statu"/> -->
					</FormItem>
				
			</Row>
            
 
			
        </Form>
    </Layout>

</template>
<script>
    export default {
        data() {
            return {
                storeCourseVo: {
				        requestId: "",
				        storeId: "",
				        storeName: "",
				        courseName: "",
				        courseId: "",
				        statu: "",
				        price: "",
				        longs: "",
				        typeId: "",
				        count: "",
				        des: ""
			
                }
				,
				requestId:"",
				data:[],
				 
 
            }
        },
        methods: {
           
            searchLessonRecord: function() {
            	let self = this;
            	this.http.get({
            		url: "/lessonrs/info",
            		param: {
            			recordId : self.$data.recordId
            		}
            	}).then(data => {
            		self.$data.lessonRecordVo = data;
            
            	});
            },
			init: function () {
			    this.search();
			},
            search: function () {
                let self = this;
                this.http.get({
                    url: "/store-courses/info",
					param: {
						requestId:self.$data.storeCourseVo.requestId
					}
                }).then(data => {
				 
                    self.$data.storeCourseVo = data;
				 
                }).then(() => {
                    // self.searchLessonRecord();
                });
            }

        },

        created: function () {
       // this.$data.lessonRecordVo.recordId = this.$route.params.recordId;
       this.$data.storeCourseVo.requestId = this.$route.params.requestId;
	   this.init();
        },
		// mounted: function () {
		// 	this.$data.storeCourseVo.requestId = this.$route.params.requestId;
		// 	this.init();
		
		// // 	this.$data.lessonRecordVo.recordId = this.$route.params.recordId;
		// //     this.init();
		// }
        
    }
</script>

<style>
</style>


					
		 